using System;
using System.Collections.Generic;
using System.ComponentModel;
using Microsoft.Ccr.Core;
using Microsoft.Dss.Core.Attributes;
using Microsoft.Dss.ServiceModel.Dssp;
using Microsoft.Dss.ServiceModel.DsspServiceBase;
using W3C.Soap;
using webcam = Microsoft.Robotics.Services.WebCam.Proxy;

namespace SRV1.Camera
{
    /// <summary>
    /// UpdatedSRV1 contract class
    /// </summary>
    public sealed class Contract
    {
        /// <summary>
        /// DSS contract identifer for UpdatedSRV1
        /// </summary>
        [DataMember]
        public const string Identifier = "http://schemas.gatech.edu/2010/10/srv1.html";
    }

    /// <summary>
    /// UpdatedSRV1 state
    /// </summary>
    [DataContract]
    public class SRV1State : webcam.WebCamState
    {
    }

    /// <summary>
    /// UpdatedSRV1 main operations port
    /// </summary>
    [ServicePort]
    public class SRV1Operations : PortSet<DsspDefaultLookup, DsspDefaultDrop,
                 webcam.Subscribe, webcam.QueryFrame, webcam.UpdateFrame, webcam.Get, webcam.Replace>
    {
    }
}


